import { baseApi } from "@/network"

// {{moduleName}} 相关 Api start
const {{moduleName}}List = async () => await baseApi.postJSON("/{{moduleName}}/list")

const query{{moduleName}} = async (data: any) => await baseApi.postJSON("/{{moduleName}}/query", data)

const save{{moduleName}} = async (data: any) => await baseApi.postJSON("/{{moduleName}}/save", data)

const remove{{moduleName}} = async (data: any) => await baseApi.delete("/{{moduleName}}/delete", data)
// {{moduleName}} 相关 Api end

export default { {{moduleName}}List, query{{moduleName}}, save{{moduleName}}, remove{{moduleName}} }
